package com.fuhao.model;

import java.io.Serializable;

/**
 * @author zhang
 * @title: Mail
 * @projectName springactivemq
 * @description: TODO
 * @date 2019/5/1416:46
 */
public class Mail implements Serializable {
    private Integer id;
    private String content;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Mail(Integer id, String content) {
        this.id = id;
        this.content = content;
    }

    public Mail(){}

    @Override
    public String toString() {
        return "Mail{" +
                "id=" + id +
                ", content='" + content + '\'' +
                '}';
    }
}
